//class ClassProxy

export class ClassProxy {
  public write(data: any): void {
    for (let key in data) {
      if (!this.hasOwnProperty(key)) {
        continue;
      }
      // @ts-ignore
      this[key] = data[key];
    }
  }
}
